﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PBOfficeMaster.master" AutoEventWireup="true"
    CodeFile="OperateLog.aspx.cs" Inherits="SystemManager_OperateLog" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link type="text/css" rel="Stylesheet" href="../css/SystemManagerCss.css" />
    <style type="text/css">
        .txt
        {
            height: 22px;
            border: 1px solid #6699FF;
            color: Blue;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 864px; height: auto;">
        <div class="branchtop">
            <table>
                <tr>
                    <td>
                        当前位置
                    </td>
                    <td>
                        <div class="lbBranch">
                            操作日志</div>
                    </td>
                </tr>
            </table>
        </div>
        <hr />
        <div style="font-size: 14px; margin: 10px 50px; text-align: left;">
            输入时间段：<asp:TextBox ID="txtBegin" CssClass="txt" runat="server"></asp:TextBox>-------<asp:TextBox
                ID="txtEnd" CssClass="txt" runat="server"></asp:TextBox>
            <asp:RadioButton ID="rbDay" runat="server"
                    GroupName="time" Text="本日" AutoPostBack="True" 
                oncheckedchanged="rbDay_CheckedChanged" /><asp:RadioButton ID="rbWeek" 
                runat="server" GroupName="time"
                        Text="本周" AutoPostBack="True" 
                oncheckedchanged="rbWeek_CheckedChanged" /><asp:RadioButton ID="rbMouse" runat="server" GroupName="time" Text="本月" />
        </div>
        <div style="margin-left:150px; text-align: left; width:710px;">
            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/imges/login_log.jpg"
                OnClick="ImageButton1_Click" />
            
        </div>
        <div style="height: 35px">
            <div style="float: left; margin: 5px 60px; text-align: left;">
                <asp:CheckBox ID="cbAll" runat="server" Text="全选" AutoPostBack="True" 
                    oncheckedchanged="cbAll_CheckedChanged" /></div>
            <div style="float: right; margin: 5px 100px; text-align: right;">
                <asp:Button ID="Button1" CssClass="btnBranch" runat="server" Text="删除选定项" Height="20px"
                    Width="70px" onclick="Button1_Click" /></div>
        </div>
        <div style="margin: 0 40px;">
            <asp:GridView ID="GridView1" runat="server" Width="782px" BorderColor="#00CCFF" BorderStyle="Solid"
                Font-Size="12px" AutoGenerateColumns="False" DataKeyNames="OperateId" AllowPaging="True"
                OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="1">
                <Columns>
                    <asp:TemplateField HeaderText="选定(√)">
                        <EditItemTemplate>
                            <asp:CheckBox ID="cbgrid" runat="server" />
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="cbgrid" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="OperateId" HeaderText="序号" InsertVisible="False" ReadOnly="True"
                        SortExpression="OperateId" />
                    <asp:BoundField DataField="UserId" HeaderText="操作用户" SortExpression="UserId" />
                    <asp:BoundField DataField="OperateName" HeaderText="事件" SortExpression="OperateName" />
                    <asp:BoundField DataField="OperateDesc" HeaderText="操作描述" SortExpression="OperateDesc" />
                    <asp:BoundField DataField="OperateTime" HeaderText="操作时间" SortExpression="OperateTime" />
                </Columns>
                <AlternatingRowStyle BackColor="#F4FCFE" />
                <HeaderStyle BackColor="#66CCFD" BorderColor="#33CCFF" Font-Size="12px" ForeColor="White" />
                <RowStyle BackColor="#FDFEFF" Font-Size="12px" Height="15px" />
            </asp:GridView>
        </div>
    </div>
</asp:Content>
